package cn.bdqn.pojo.question;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {
    private Integer code;// 状态码
    private String msg;
    private Object data;// 数据
    private Object page;// 分页信息

    public Message(Integer code) {
        this.code = code;
    }
    public Message(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
